package cn.imvc.app.repositories;

import java.util.Date;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.PointsToMoney;
import cn.imvc.data.jpa.repository.IJpqlExecutor;

public interface PointsToMoneyRepository extends JpaRepository<PointsToMoney, Integer>, IJpqlExecutor<PointsToMoney> {
	
	List<PointsToMoney> findByEndTimeGreaterThanAndStartTimeLessThanAndLevelOrderByPoints(Date endTime,Date startTime,int level);
	
}
